#pragma once



class CRecvMsg
{
public:
	CRecvMsg();
	~CRecvMsg();

	char * GetHead();
	int GetHeadLen();
	bool decode_header();


	char *GetBody();
	int GetBodyLen();

private:
	char * buffer;
	int bodyLen;

	int maxBodySize;
};

